package com.gzx.tjzy.feign;

import com.gzx.tjzy.feign.req.debtor.GzxDebtorInfoReqDto;
import com.gzx.tjzy.feign.req.liaison.GzxDebtorLiaisonReqDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import vip.xiaonuo.common.consts.FeignConstant;

import java.util.List;

/**
 * @author zjt
 * @description
 * @since 2025/2/13 10:10
 */
@FeignClient(name = FeignConstant.BIZ_APP, contextId = "TjzyDebtorFeign")
public interface GzxDebtorInfoFeign {

    /**
     * 欠款人信息数据同步
     *
     * @param debtorInfoReqDtoList
     */
    @RequestMapping("/feign/tjzy/debtor/sync")
    void sync(@RequestBody List<GzxDebtorInfoReqDto> debtorInfoReqDtoList);
}
